package com.youlu.campus.activity.repositories;

import com.youlu.campus.service.ranking.entity.UserActivityPointProvinceRanking;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * 用户参加活动省榜单
 *
 * @Description: UserActivityPointProvinceRankingRepository
 * @Date 2025/8/1
 * @author: su
 */
public interface UserActivityPointProvinceRankingRepository extends MongoRepository<UserActivityPointProvinceRanking, String> {

    /**
     * 删除用户参加活动的贡献值榜单
     *
     * @param userId
     * @param activityId
     */
    Long deleteByUserIdAndActivityId(String userId, String activityId);
}
